from user_md import UserMD


def creat_user(id):
    user = UserMD()
    user.id = id
    user.save()

def update_user(id,name,bio,location,website,birth_date,following_count,followers_count):
    user = UserMD.get(id)
    user.name = name
    user.bio = bio
    user.location = location
    user.website = website
    user.birth_date = birth_date
    user.following_count = following_count
    user.followers_count = followers_count
    user.save()

